//
//  VVPickerDate.h
//  有截止时间或起始时间的日期选择器
//
//  Created by iosDev on 16/6/29.
//  Copyright © 2016年 iosDev. All rights reserved.
//

#import <UIKit/UIKit.h>

@class STPickerDate;
@protocol  VVPickerDateDelegate<NSObject>

- (void)pickerDate:(STPickerDate *)pickerDate year:(NSInteger)year month:(NSInteger)month day:(NSInteger)day;

@end

@interface VVPickerDate : UIButton

@property(nonatomic, weak)id <VVPickerDateDelegate>delegate ;

- (instancetype)initWithDelegate:(nullable id /*<STPickerDateDelegate>*/)delegate;

- (instancetype)initWithDelegate:(nullable id /*<STPickerDateDelegate>*/)delegate date:(NSDate *)date beginDate:(NSDate *)beginDate;

- (instancetype)initWithDelegate:(nullable id)delegate date:(NSDate *)date endDate:(NSDate * )endDate;


- (void)show;

@end
